package com.sinosoft.ptas.entity;

import java.io.Serializable;
import java.util.Date;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
/**
 * 年度目标实体类
 * @author lianWuJun
 * @time   2017年2月18日 下午2:29:22
 */
public class AnnualTargetEntity implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Length(max = 36, message = "{annualTarget.id.maxLength}")
	private String id;//标识符
	
	@Length(max = 36, message = "{annualTarget.annualTargets.maxLength}")
	private String annualTargets; //年度目标
	
	@NotBlank(message = "{annualTarget.targetsOfImplPhase.notText}")
	@Length(max = 36, message = "{annualTarget.targetsOfImplPhase.maxLength}")
	private String targetsOfImplPhase;//所属实施目标ID
	
	private String creater;//创建人
	private Date createTime;//创建时间
	private String updator;//更新人
	private Date updateTime;//更新时间
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getAnnualTargets() {
		return annualTargets;
	}
	public void setAnnualTargets(String annualTargets) {
		this.annualTargets = annualTargets;
	}
	public String getTargetsOfImplPhase() {
		return targetsOfImplPhase;
	}
	public void setTargetsOfImplPhase(String targetsOfImplPhase) {
		this.targetsOfImplPhase = targetsOfImplPhase;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getUpdator() {
		return updator;
	}
	public void setUpdator(String updator) {
		this.updator = updator;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	@Override
	public String toString() {
		return "AnnualTargetEntity [id=" + id + ", annualTargets="
				+ annualTargets + ", targetsOfImplPhase=" + targetsOfImplPhase
				+ ", creater=" + creater + ", createTime=" + createTime
				+ ", updator=" + updator + ", updateTime=" + updateTime + "]";
	}
	
}
